package com.allwees.bs.c.module.order.entity;

import com.allwees.bs.c.module.base.entity.JpaBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 订单结算
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Entity()
@Table(name = "o_order_balance")
public class OrderBalanceEntity extends JpaBaseEntity {
    private String orderUuid;

    // 活动佣金 activity_commission * amt
    @Column(name = "activity_commission")
    private BigDecimal activityCommission;

}
